package homework;

public class CircleTest {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.setRadius(5);
        System.out.println("圆的面积"+circle.findArea());

        Cylinder cylinder = new Cylinder();
        circle.setRadius(5);
        cylinder.setLength(10);
        System.out.println(new StringBuilder().append("圆柱体的体积").append(cylinder.findVolume()).toString());


    }
}
